<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../css/member_global.css?t={ctime}" rel="stylesheet" type="text/css" />
<link href="../css/member_main_lot_all.css?t={ctime}" rel="stylesheet" type="text/css">
<link href="../css/member_main_lot_b{LottoID}.css?t={ctime}" rel="stylesheet" type="text/css">
<title>Lotto</title>
<script language="JavaScript">
<!--
var intNowBT = 0;
var intNowWagerType = 0;
var intNowCNo = 1;
var arrNo = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), arrCNoIsOver = new Array();
var arrAnimals = ["", "{Animals1}", "{Animals2}", "{Animals3}", "{Animals4}", "{Animals5}", "{Animals6}", "{Animals7}", "{Animals8}", "{Animals9}", "{Animals10}", "{Animals11}", "{Animals12}"];

function clearSelected(){
	for(var intNum = 1; intNum <= 12; intNum++){
		objChBox = document.SAFrm["ChoiceNumber["+intNowBT+"]["+intNum.toString()+"]"];
		objChBox.checked = false;
		objChBox = document.getElementById("NumOdds" + intNowBT.toString() + intNum.toString());
		objChBox.disabled = false;
		ChangeClass(intNum,  intNowBT, 0);
	}
	arrNo = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
	arrCNoIsOver = new Array();
}

function CheckChoice(){
	document.getElementById("WagerWay0").disabled = false;
	document.getElementById("WagerWay1").disabled = false;

	var intChBox = 0, j = 0, i = 0, objChBox, intBT = 0;
	var intMaxSd = 0, intMinSd = 0, isFull = 0, intNum = 0;
	var arrMinSd = [2, 3, 4, 2, 3, 4];
	var arrMaxSd = [9, 9, 9, 9, 9, 9];

	with(document.SAFrm){
		for(i = 0; i < Bet_Type.length; i++){
			if(Bet_Type[i].checked){
				intBT = eval(Bet_Type[i].value);
				intNowBT = intBT;
				intMaxSd = arrMaxSd[i];
				intMinSd = arrMinSd[i];
				for(intNum = 1; intNum <= 12; intNum++){
					objChBox = document.SAFrm["ChoiceNumber["+Bet_Type[i].value+"]["+intNum.toString()+"]"];
					objChBox.disabled = false;
				}
			}else if(Bet_Type[i].disabled == false){
				for(intNum = 1; intNum <= 12; intNum++){
					objChBox = document.SAFrm["ChoiceNumber["+Bet_Type[i].value+"]["+intNum.toString()+"]"];
					objChBox.checked = false;
					objChBox.disabled = true;
					ChangeClass(intNum,  Bet_Type[i].value, 0);
				}
			}
		}
		if(document.getElementById("WagerWay1").checked)return ChangeWagerWay(1);

		for(intNum = 1; intNum <= 12; intNum++){
			objChBox = document.SAFrm["ChoiceNumber["+intBT.toString()+"]["+intNum.toString()+"]"];
			objChBox.disabled = false;
			ChangeClass(intNum,  intBT, 0);
			if(objChBox.checked){
				intChBox++;
				ChangeClass(intNum, intBT, 0);
			}
			if(intChBox == intMaxSd)break;
		}

		if(intChBox == intMaxSd){
			for(intNum = 1; intNum <= 12; intNum++){
				objChBox = document.SAFrm["ChoiceNumber["+intBT.toString()+"]["+intNum.toString()+"]"];
				if(objChBox.checked == false)objChBox.disabled = true;
			}
			isFull++;
		}

		BSubmit.disabled = (intChBox <= intMaxSd && intChBox >= intMinSd && intBT != 0)?false:true;
	}
}

function ChangeClass(intNum, intBT, isOver){
	if(isOver == 1){
		document.getElementById("NumOdds"+intBT.toString()+intNum.toString()).style.backgroundColor = '#CCFFCC';
	}else{
		if(document.SAFrm["ChoiceNumber["+intBT+"]["+intNum+"]"].checked == false)document.getElementById("NumOdds"+intBT.toString()+intNum.toString()).style.backgroundColor = '#FFFFFF';
	}
}

function SplitParam(){
	var j = 2;
	document.SAFrm.action = "10m30transform.php";
	if(intNowWagerType == 1){
		switch(intNowBT){
			case 33:
			case 36:
				j = 3;
				break;

			case 34:
			case 37:
				j = 4;
				break;
		}
		for(var i = 1; i <= j; i++){
			if(document.getElementById("ChoiceTNo"+i).value == ""){
				alert("Plase select number!!");
				return false;
			}
		}
		document.SAFrm.action = "10m15_wager.php";
	}
	return true;
}

function ChangeWagerWay(intType){
	intNowWagerType = intType;
	clearSelected();
	switch(intType){
		case 0:
			document.getElementById("WagerWayTable1").style.display = "none";
			CheckChoice();
			break;

		case 1:
			document.getElementById("WagerWayTable1").style.display = "block";
			OpenCheckBox(intNowBT);
			logCNo(0, null);
			document.SAFrm.BSubmit.disabled = false;
			break;
	}
}

function NumFormat(intNum){
	return arrAnimals[intNum];
}

function logCNo(intNo, objNo){
	if(intNowWagerType == 0)return CheckChoice();

	var intCNo = 0, arrCNo = new Array(), arrCTNo = new Array(), arrIndex = new Array();
	for(var i = 1; i <= 4; i++){
		document.getElementById("ChoiceNo" + i).innerHTML = '&nbsp;';
		arrIndex[i] = -1;
		arrCNo[i] = new Array();
		arrCTNo[i] = new Array();
	}
	if(intNo == 0)return;

	if(objNo.checked){
		if(arrNo[intNo] == 0){
			if(arrCNoIsOver[intNowCNo] == 1){
				objNo.checked = false;
			}else{
				arrNo[intNo] = intNowCNo;
			}
		}
	}else{
		arrNo[intNo] = 0;
	}
	for(var i = 1; i <= 12; i++){
		intCNo = arrNo[i];
		if(intCNo == 0)continue;
		arrIndex[intCNo]++;
		arrCNoIsOver[intCNo] = (arrIndex[intCNo] >= 10)?1:0;
		arrCNo[intCNo][arrIndex[intCNo]] = NumFormat(i);
		arrCTNo[intCNo][arrIndex[intCNo]] = i;//NumFormat(i)
	}
	for(var i = 1; i <= 4; i++){
		document.getElementById("ChoiceNo"+i).innerHTML = arrCNo[i].join(",") + '&nbsp;';
		document.getElementById("ChoiceTNo"+i).value = arrCTNo[i].join(",");
	}
	return (objNo.checked)?1:0;
}

function ChangeCNo(intCNo){
	intNowCNo = intCNo;

	for(var i = 1; i <= 12; i++){
		intCNo = arrNo[i];
		if(intCNo == 0 ||  intCNo == intNowCNo){
			document.getElementById("NumOdds" + intNowBT.toString() + i.toString()).disabled = false;
		}else{
			document.getElementById("NumOdds" + intNowBT.toString() + i.toString()).disabled = true;
		}
	}
}

function OpenCheckBox() {
	var intStopNo = 0;
	NowChoiceNumber = 0;

	if(document.all){
		document.getElementById("ChoiceTeam3TR").style.display = "block";
		document.getElementById("ChoiceTeam4TR").style.display = "block";
	}
	document.getElementById("ChoiceRadioNo3").disabled 	= false;
	document.getElementById("ChoiceRadioNo4").disabled 	= false;
	switch(intNowBT){
		case 32:
		case 35:
			document.getElementById("ChoiceTeam3TR").style.display = "none";
			document.getElementById("ChoiceRadioNo3").disabled 	= true;
			document.getElementById("ChoiceTNo3").value = "";
		case 33:
		case 36:
			document.getElementById("ChoiceTeam4TR").style.display = "none";
			document.getElementById("ChoiceRadioNo4").disabled 	= true;
			document.getElementById("ChoiceTNo4").value = "";
			break;
	}
}
//-->
</script>
</head>

<body oncontextmenu="window.event.returnValue=false" ondragstart="window.event.returnValue=false" onselectstart="event.returnValue=false">

<form action="10m15_wager.php" name="SAFrm" target="leftFrame" method="post" onreset="setTimeout('CheckChoice()', 500);" onsubmit="return SplitParam();">
<input type="hidden" name="UserID" value="{UserID}">
<input type="hidden" name="GambleID" value="{GambleID}">
<input type="hidden" name="LottoID" value="{LottoID}">
<input type="hidden" name="sid" value="{sid}">
<input name="ChoiceTNo1" type="hidden" id="ChoiceTNo1" value="">
<input name="ChoiceTNo2" type="hidden" id="ChoiceTNo2" value="">
<input name="ChoiceTNo3" type="hidden" id="ChoiceTNo3" value="">
<input name="ChoiceTNo4" type="hidden" id="ChoiceTNo4" value="">

<!--樣式2-->
<div class="topStyle_2">
<table class="mtop" width="725" border="0" cellspacing="0" cellpadding="0">
<tr>
	<td align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td align="center" class="menu_title">{Title}</td>
			<td align="right" valign="top" class="mictxt">{Periods}<em id="GameNo">{SerialNo}</em>({OpeningDate}{ShowGameDate}&nbsp;{ShowGameTime})
			</td>
		</tr>
		</table>
	</td>
</tr>
<tr class="menu_tab">
	<td nowrap="nowrap" class="menu_tab" >&nbsp;</td>
</tr>
</table>
</div>
<!--共用樣式-->

<table width="725" border="0" cellpadding="0" cellspacing="1" class="mbtab_lnu">
<thead>
  <tr>
    <td><input name="Bet_Type" type="radio" class="zadot" value="32" onclick="CheckChoice()" {Radio32}>      {Num32}</td><!-- 二肖連 - 中 //-->
    <td><input name="Bet_Type" type="radio" class="zadot" value="33" onclick="CheckChoice()" {Radio33}>      {Num33}</td><!-- 三肖連 - 中 //-->
    <td><input name="Bet_Type" type="radio" class="zadot" value="34" onclick="CheckChoice()" {Radio34}>      {Num34}</td><!-- 四肖連 - 中 //-->
    <td><input name="Bet_Type" type="radio" class="zadot" value="35" onclick="CheckChoice()" {Radio35}>      {Num35}</td><!-- 二肖連 - 不中 //-->
    <td><input name="Bet_Type" type="radio" class="zadot" value="36" onclick="CheckChoice()" {Radio36}>      {Num36}</td><!-- 三肖連 - 不中 //-->
	<td><input name="Bet_Type" type="radio" class="zadot" value="37" onclick="CheckChoice()" {Radio37}>      {Num37}</td><!-- 四肖連 - 不中 //-->
  </tr>
</thead>
<tr>
	<th>{WagerWay}</th>
	<td colspan="5">
		<label for="WagerWay0"><em style="width:45%"><input name="Number" id="WagerWay0" type="radio" value="0" onclick="ChangeWagerWay(0);" checked disabled>{WWay0}</em></label>
		<label for="WagerWay1"><em style="width:45%"><input name="Number" id="WagerWay1" type="radio" value="1" onclick="ChangeWagerWay(1);" disabled>{WWay1}</em></label>
	</td>
</tr>
</table>
<table width="725" border="0" cellpadding="0" cellspacing="0" class="mbtab" id="WagerWayTable1" style="display: none">
<tr class="mcen">
	<th class="mbtitle" style="color:#000000" width="16.6%">{ChoiceTeam1} <input type="radio" name="ChoiceTeam" onclick="ChangeCNo(1)" checked></th>
	<td id="ChoiceNo1" class="mbline"  style="text-align: left">&nbsp;</td>
</tr>
<tr class="mcen">
	<th class="mbtitle" style="color:#000000" width="16.6%">{ChoiceTeam2} <input type="radio" name="ChoiceTeam" id="ChoiceRadioNo2" onclick="ChangeCNo(2)"></th>
	<td id="ChoiceNo2" class="mbline"  style="text-align: left">&nbsp;</td>
</tr>
<tr class="mcen" id="ChoiceTeam3TR">
	<th class="mbtitle" style="color:#000000" width="16.6%">{ChoiceTeam3} <input type="radio" name="ChoiceTeam" id="ChoiceRadioNo3" onclick="ChangeCNo(3)"></th>
	<td id="ChoiceNo3" class="mbline"  style="text-align: left">&nbsp;</td>
</tr>
<tr class="mcen" id="ChoiceTeam4TR">
	<th class="mbtitle" style="color:#000000" width="16.6%">{ChoiceTeam4} <input type="radio" name="ChoiceTeam" id="ChoiceRadioNo4" onclick="ChangeCNo(4)"></th>
	<td id="ChoiceNo4" class="mbline"  style="text-align: left">&nbsp;</td>
</tr>
</table>
<table width="725" border="0" cellpadding="0" cellspacing="0" class="mbtab_ont">
  <tr class="mbtitle">
    <td>{NumberTitle}</td>
    <td>{OddsTitle}</td>
    <td>{ChoiceTitle}</td>
    <td>{NumberTitle}</td>
    <td>{OddsTitle}</td>
    <td>{ChoiceTitle}</td>
    <td>{NumberTitle}</td>
    <td>{OddsTitle}</td>
    <td>{ChoiceTitle}</td>
    <td>{NumberTitle}</td>
    <td>{OddsTitle}</td>
    <td>{ChoiceTitle}</td>
    <td>{NumberTitle}</td>
    <td>{OddsTitle}</td>
    <td>{ChoiceTitle}</td>
    <td>{NumberTitle}</td>
    <td>{OddsTitle}</td>
    <td>{ChoiceTitle}</td>
  </tr>
  <tr class="mcen"><!-- 1 //-->
    <th>{Animals1}</th>
    <td class="mbline_ratio">{Odds32_1}</td>
    <td class="mbline" id="NumOdds321" AC321_S onmouseover="ChangeClass(1, 32, 1)" onmouseout="ChangeClass(1, 32, 0)" AC321_E><input type="checkbox" name="ChoiceNumber[32][1]" value="{OddsID32_1}#{Odds32_1}" onclick="logCNo(1, this)"></td>
    <th>{Animals1}</th>
    <td class="mbline_ratio">{Odds33_1}</td>
    <td class="mbline" id="NumOdds331" AC331_S onmouseover="ChangeClass(1, 33, 1)" onmouseout="ChangeClass(1, 33, 0)" AC331_E><input type="checkbox" name="ChoiceNumber[33][1]" value="{OddsID33_1}#{Odds33_1}" onclick="logCNo(1, this)"></td>
    <th>{Animals1}</th>
    <td class="mbline_ratio">{Odds34_1}</td>
    <td class="mbline" id="NumOdds341" AC341_S onmouseover="ChangeClass(1, 34, 1)" onmouseout="ChangeClass(1, 34, 0)" AC341_E><input type="checkbox" name="ChoiceNumber[34][1]" value="{OddsID34_1}#{Odds34_1}" onclick="logCNo(1, this)"></td>
    <th>{Animals1}</th>
    <td class="mbline_ratio">{Odds35_1}</td>
    <td class="mbline" id="NumOdds351" AC351_S onmouseover="ChangeClass(1, 35, 1)" onmouseout="ChangeClass(1, 35, 0)" AC351_E><input type="checkbox" name="ChoiceNumber[35][1]" value="{OddsID35_1}#{Odds35_1}" onclick="logCNo(1, this)"></td>
    <th>{Animals1}</th>
    <td class="mbline_ratio">{Odds36_1}</td>
    <td class="mbline" id="NumOdds361" AC361_S onmouseover="ChangeClass(1, 36, 1)" onmouseout="ChangeClass(1, 36, 0)" AC361_E><input type="checkbox" name="ChoiceNumber[36][1]" value="{OddsID36_1}#{Odds36_1}" onclick="logCNo(1, this)"></td>
    <th>{Animals1}</th>
    <td class="mbline_ratio">{Odds37_1}</td>
    <td class="mbline" id="NumOdds371" AC371_S onmouseover="ChangeClass(1, 37, 1)" onmouseout="ChangeClass(1, 37, 0)" AC371_E><input type="checkbox" name="ChoiceNumber[37][1]" value="{OddsID37_1}#{Odds37_1}" onclick="logCNo(1, this)"></td>
  </tr>
  <tr class="mcen"><!-- 2 //-->
    <th>{Animals2}</th>
    <td class="mbline_ratio">{Odds32_2}</td>
    <td class="mbline" id="NumOdds322" AC322_S onmouseover="ChangeClass(2, 32, 1)" onmouseout="ChangeClass(2, 32, 0)" AC322_E><input type="checkbox" name="ChoiceNumber[32][2]" value="{OddsID32_2}#{Odds32_2}" onclick="logCNo(2, this)"></td>
    <th>{Animals2}</th>
    <td class="mbline_ratio">{Odds33_2}</td>
    <td class="mbline" id="NumOdds332" AC332_S onmouseover="ChangeClass(2, 33, 1)" onmouseout="ChangeClass(2, 33, 0)" AC332_E><input type="checkbox" name="ChoiceNumber[33][2]" value="{OddsID33_2}#{Odds33_2}" onclick="logCNo(2, this)"></td>
    <th>{Animals2}</th>
    <td class="mbline_ratio">{Odds34_2}</td>
    <td class="mbline" id="NumOdds342" AC342_S onmouseover="ChangeClass(2, 34, 1)" onmouseout="ChangeClass(2, 34, 0)" AC342_E><input type="checkbox" name="ChoiceNumber[34][2]" value="{OddsID34_2}#{Odds34_2}" onclick="logCNo(2, this)"></td>
    <th>{Animals2}</th>
    <td class="mbline_ratio">{Odds35_2}</td>
    <td class="mbline" id="NumOdds352" AC352_S onmouseover="ChangeClass(2, 35, 1)" onmouseout="ChangeClass(2, 35, 0)" AC352_E><input type="checkbox" name="ChoiceNumber[35][2]" value="{OddsID35_2}#{Odds35_2}" onclick="logCNo(2, this)"></td>
    <th>{Animals2}</th>
    <td class="mbline_ratio">{Odds36_2}</td>
    <td class="mbline" id="NumOdds362" AC362_S onmouseover="ChangeClass(2, 36, 1)" onmouseout="ChangeClass(2, 36, 0)" AC362_E><input type="checkbox" name="ChoiceNumber[36][2]" value="{OddsID36_2}#{Odds36_2}" onclick="logCNo(2, this)"></td>
    <th>{Animals2}</th>
    <td class="mbline_ratio">{Odds37_2}</td>
    <td class="mbline" id="NumOdds372" AC372_S onmouseover="ChangeClass(2, 37, 1)" onmouseout="ChangeClass(2, 37, 0)" AC372_E><input type="checkbox" name="ChoiceNumber[37][2]" value="{OddsID37_2}#{Odds37_2}" onclick="logCNo(2, this)"></td>
  </tr>
  <tr class="mcen"><!-- 3 //-->
    <th>{Animals3}</th>
    <td class="mbline_ratio">{Odds32_3}</td>
    <td class="mbline" id="NumOdds323" AC323_S onmouseover="ChangeClass(3, 32, 1)" onmouseout="ChangeClass(3, 32, 0)" AC323_E><input type="checkbox" name="ChoiceNumber[32][3]" value="{OddsID32_3}#{Odds32_3}" onclick="logCNo(3, this)"></td>
    <th>{Animals3}</th>
    <td class="mbline_ratio">{Odds33_3}</td>
    <td class="mbline" id="NumOdds333" AC333_S onmouseover="ChangeClass(3, 33, 1)" onmouseout="ChangeClass(3, 33, 0)" AC333_E><input type="checkbox" name="ChoiceNumber[33][3]" value="{OddsID33_3}#{Odds33_3}" onclick="logCNo(3, this)"></td>
    <th>{Animals3}</th>
    <td class="mbline_ratio">{Odds34_3}</td>
    <td class="mbline" id="NumOdds343" AC343_S onmouseover="ChangeClass(3, 34, 1)" onmouseout="ChangeClass(3, 34, 0)" AC343_E><input type="checkbox" name="ChoiceNumber[34][3]" value="{OddsID34_3}#{Odds34_3}" onclick="logCNo(3, this)"></td>
    <th>{Animals3}</th>
    <td class="mbline_ratio">{Odds35_3}</td>
    <td class="mbline" id="NumOdds353" AC353_S onmouseover="ChangeClass(3, 35, 1)" onmouseout="ChangeClass(3, 35, 0)" AC353_E><input type="checkbox" name="ChoiceNumber[35][3]" value="{OddsID35_3}#{Odds35_3}" onclick="logCNo(3, this)"></td>
    <th>{Animals3}</th>
    <td class="mbline_ratio">{Odds36_3}</td>
    <td class="mbline" id="NumOdds363" AC363_S onmouseover="ChangeClass(3, 36, 1)" onmouseout="ChangeClass(3, 36, 0)" AC363_E><input type="checkbox" name="ChoiceNumber[36][3]" value="{OddsID36_3}#{Odds36_3}" onclick="logCNo(3, this)"></td>
    <th>{Animals3}</th>
    <td class="mbline_ratio">{Odds37_3}</td>
    <td class="mbline" id="NumOdds373" AC373_S onmouseover="ChangeClass(3, 37, 1)" onmouseout="ChangeClass(3, 37, 0)" AC373_E><input type="checkbox" name="ChoiceNumber[37][3]" value="{OddsID37_3}#{Odds37_3}" onclick="logCNo(3, this)"></td>
  </tr>
  <tr class="mcen"><!-- 4 //-->
    <th>{Animals4}</th>
    <td class="mbline_ratio">{Odds32_4}</td>
    <td class="mbline" id="NumOdds324" AC324_S onmouseover="ChangeClass(4, 32, 1)" onmouseout="ChangeClass(4, 32, 0)" AC324_E><input type="checkbox" name="ChoiceNumber[32][4]" value="{OddsID32_4}#{Odds32_4}" onclick="logCNo(4, this)"></td>
    <th>{Animals4}</th>
    <td class="mbline_ratio">{Odds33_4}</td>
    <td class="mbline" id="NumOdds334" AC334_S onmouseover="ChangeClass(4, 33, 1)" onmouseout="ChangeClass(4, 33, 0)" AC334_E><input type="checkbox" name="ChoiceNumber[33][4]" value="{OddsID33_4}#{Odds33_4}" onclick="logCNo(4, this)"></td>
    <th>{Animals4}</th>
    <td class="mbline_ratio">{Odds34_4}</td>
    <td class="mbline" id="NumOdds344" AC344_S onmouseover="ChangeClass(4, 34, 1)" onmouseout="ChangeClass(4, 34, 0)" AC344_E><input type="checkbox" name="ChoiceNumber[34][4]" value="{OddsID34_4}#{Odds34_4}" onclick="logCNo(4, this)"></td>
    <th>{Animals4}</th>
    <td class="mbline_ratio">{Odds35_4}</td>
    <td class="mbline" id="NumOdds354" AC354_S onmouseover="ChangeClass(4, 35, 1)" onmouseout="ChangeClass(4, 35, 0)" AC354_E><input type="checkbox" name="ChoiceNumber[35][4]" value="{OddsID35_4}#{Odds35_4}" onclick="logCNo(4, this)"></td>
    <th>{Animals4}</th>
    <td class="mbline_ratio">{Odds36_4}</td>
    <td class="mbline" id="NumOdds364" AC364_S onmouseover="ChangeClass(4, 36, 1)" onmouseout="ChangeClass(4, 36, 0)" AC364_E><input type="checkbox" name="ChoiceNumber[36][4]" value="{OddsID36_4}#{Odds36_4}" onclick="logCNo(4, this)"></td>
    <th>{Animals4}</th>
    <td class="mbline_ratio">{Odds37_4}</td>
    <td class="mbline" id="NumOdds374" AC374_S onmouseover="ChangeClass(4, 37, 1)" onmouseout="ChangeClass(4, 37, 0)" AC374_E><input type="checkbox" name="ChoiceNumber[37][4]" value="{OddsID37_4}#{Odds37_4}" onclick="logCNo(4, this)"></td>
  </tr>
  <tr class="mcen"><!-- 5 //-->
    <th>{Animals5}</th>
    <td class="mbline_ratio">{Odds32_5}</td>
    <td class="mbline" id="NumOdds325" AC325_S onmouseover="ChangeClass(5, 32, 1)" onmouseout="ChangeClass(5, 32, 0)" AC325_E><input type="checkbox" name="ChoiceNumber[32][5]" value="{OddsID32_5}#{Odds32_5}" onclick="logCNo(5, this)"></td>
    <th>{Animals5}</th>
    <td class="mbline_ratio">{Odds33_5}</td>
    <td class="mbline" id="NumOdds335" AC335_S onmouseover="ChangeClass(5, 33, 1)" onmouseout="ChangeClass(5, 33, 0)" AC335_E><input type="checkbox" name="ChoiceNumber[33][5]" value="{OddsID33_5}#{Odds33_5}" onclick="logCNo(5, this)"></td>
    <th>{Animals5}</th>
    <td class="mbline_ratio">{Odds34_5}</td>
    <td class="mbline" id="NumOdds345" AC345_S onmouseover="ChangeClass(5, 34, 1)" onmouseout="ChangeClass(5, 34, 0)" AC345_E><input type="checkbox" name="ChoiceNumber[34][5]" value="{OddsID34_5}#{Odds34_5}" onclick="logCNo(5, this)"></td>
    <th>{Animals5}</th>
    <td class="mbline_ratio">{Odds35_5}</td>
    <td class="mbline" id="NumOdds355" AC355_S onmouseover="ChangeClass(5, 35, 1)" onmouseout="ChangeClass(5, 35, 0)" AC355_E><input type="checkbox" name="ChoiceNumber[35][5]" value="{OddsID35_5}#{Odds35_5}" onclick="logCNo(5, this)"></td>
    <th>{Animals5}</th>
    <td class="mbline_ratio">{Odds36_5}</td>
    <td class="mbline" id="NumOdds365" AC365_S onmouseover="ChangeClass(5, 36, 1)" onmouseout="ChangeClass(5, 36, 0)" AC365_E><input type="checkbox" name="ChoiceNumber[36][5]" value="{OddsID36_5}#{Odds36_5}" onclick="logCNo(5, this)"></td>
    <th>{Animals5}</th>
    <td class="mbline_ratio">{Odds37_5}</td>
    <td class="mbline" id="NumOdds375" AC375_S onmouseover="ChangeClass(5, 37, 1)" onmouseout="ChangeClass(5, 37, 0)" AC375_E><input type="checkbox" name="ChoiceNumber[37][5]" value="{OddsID37_5}#{Odds37_5}" onclick="logCNo(5, this)"></td>
  </tr>
  <tr class="mcen"><!-- 6 //-->
    <th>{Animals6}</th>
    <td class="mbline_ratio">{Odds32_6}</td>
    <td class="mbline" id="NumOdds326" AC326_S onmouseover="ChangeClass(6, 32, 1)" onmouseout="ChangeClass(6, 32, 0)" AC326_E><input type="checkbox" name="ChoiceNumber[32][6]" value="{OddsID32_6}#{Odds32_6}" onclick="logCNo(6, this)"></td>
    <th>{Animals6}</th>
    <td class="mbline_ratio">{Odds33_6}</td>
    <td class="mbline" id="NumOdds336" AC336_S onmouseover="ChangeClass(6, 33, 1)" onmouseout="ChangeClass(6, 33, 0)" AC336_E><input type="checkbox" name="ChoiceNumber[33][6]" value="{OddsID33_6}#{Odds33_6}" onclick="logCNo(6, this)"></td>
    <th>{Animals6}</th>
    <td class="mbline_ratio">{Odds34_6}</td>
    <td class="mbline" id="NumOdds346" AC346_S onmouseover="ChangeClass(6, 34, 1)" onmouseout="ChangeClass(6, 34, 0)" AC346_E><input type="checkbox" name="ChoiceNumber[34][6]" value="{OddsID34_6}#{Odds34_6}" onclick="logCNo(6, this)"></td>
    <th>{Animals6}</th>
    <td class="mbline_ratio">{Odds35_6}</td>
    <td class="mbline" id="NumOdds356" AC356_S onmouseover="ChangeClass(6, 35, 1)" onmouseout="ChangeClass(6, 35, 0)" AC356_E><input type="checkbox" name="ChoiceNumber[35][6]" value="{OddsID35_6}#{Odds35_6}" onclick="logCNo(6, this)"></td>
    <th>{Animals6}</th>
    <td class="mbline_ratio">{Odds36_6}</td>
    <td class="mbline" id="NumOdds366" AC366_S onmouseover="ChangeClass(6, 36, 1)" onmouseout="ChangeClass(6, 36, 0)" AC366_E><input type="checkbox" name="ChoiceNumber[36][6]" value="{OddsID36_6}#{Odds36_6}" onclick="logCNo(6, this)"></td>
    <th>{Animals6}</th>
    <td class="mbline_ratio">{Odds37_6}</td>
    <td class="mbline" id="NumOdds376" AC376_S onmouseover="ChangeClass(6, 37, 1)" onmouseout="ChangeClass(6, 37, 0)" AC376_E><input type="checkbox" name="ChoiceNumber[37][6]" value="{OddsID37_6}#{Odds37_6}" onclick="logCNo(6, this)"></td>
  </tr>
  <tr class="mcen"><!-- 7 //-->
    <th>{Animals7}</th>
    <td class="mbline_ratio">{Odds32_7}</td>
    <td class="mbline" id="NumOdds327" AC327_S onmouseover="ChangeClass(7, 32, 1)" onmouseout="ChangeClass(7, 32, 0)" AC327_E><input type="checkbox" name="ChoiceNumber[32][7]" value="{OddsID32_7}#{Odds32_7}" onclick="logCNo(7, this)"></td>
    <th>{Animals7}</th>
    <td class="mbline_ratio">{Odds33_7}</td>
    <td class="mbline" id="NumOdds337" AC337_S onmouseover="ChangeClass(7, 33, 1)" onmouseout="ChangeClass(7, 33, 0)" AC337_E><input type="checkbox" name="ChoiceNumber[33][7]" value="{OddsID33_7}#{Odds33_7}" onclick="logCNo(7, this)"></td>
    <th>{Animals7}</th>
    <td class="mbline_ratio">{Odds34_7}</td>
    <td class="mbline" id="NumOdds347" AC347_S onmouseover="ChangeClass(7, 34, 1)" onmouseout="ChangeClass(7, 34, 0)" AC347_E><input type="checkbox" name="ChoiceNumber[34][7]" value="{OddsID34_7}#{Odds34_7}" onclick="logCNo(7, this)"></td>
    <th>{Animals7}</th>
    <td class="mbline_ratio">{Odds35_7}</td>
    <td class="mbline" id="NumOdds357" AC357_S onmouseover="ChangeClass(7, 35, 1)" onmouseout="ChangeClass(7, 35, 0)" AC357_E><input type="checkbox" name="ChoiceNumber[35][7]" value="{OddsID35_7}#{Odds35_7}" onclick="logCNo(7, this)"></td>
    <th>{Animals7}</th>
    <td class="mbline_ratio">{Odds36_7}</td>
    <td class="mbline" id="NumOdds367" AC367_S onmouseover="ChangeClass(7, 36, 1)" onmouseout="ChangeClass(7, 36, 0)" AC367_E><input type="checkbox" name="ChoiceNumber[36][7]" value="{OddsID36_7}#{Odds36_7}" onclick="logCNo(7, this)"></td>
    <th>{Animals7}</th>
    <td class="mbline_ratio">{Odds37_7}</td>
    <td class="mbline" id="NumOdds377" AC377_S onmouseover="ChangeClass(7, 37, 1)" onmouseout="ChangeClass(7, 37, 0)" AC377_E><input type="checkbox" name="ChoiceNumber[37][7]" value="{OddsID37_7}#{Odds37_7}" onclick="logCNo(7, this)"></td>
  </tr>
  <tr class="mcen"><!-- 8 //-->
    <th>{Animals8}</th>
    <td class="mbline_ratio">{Odds32_8}</td>
    <td class="mbline" id="NumOdds328" AC328_S onmouseover="ChangeClass(8, 32, 1)" onmouseout="ChangeClass(8, 32, 0)" AC328_E><input type="checkbox" name="ChoiceNumber[32][8]" value="{OddsID32_8}#{Odds32_8}" onclick="logCNo(8, this)"></td>
    <th>{Animals8}</th>
    <td class="mbline_ratio">{Odds33_8}</td>
    <td class="mbline" id="NumOdds338" AC338_S onmouseover="ChangeClass(8, 33, 1)" onmouseout="ChangeClass(8, 33, 0)" AC338_E><input type="checkbox" name="ChoiceNumber[33][8]" value="{OddsID33_8}#{Odds33_8}" onclick="logCNo(8, this)"></td>
    <th>{Animals8}</th>
    <td class="mbline_ratio">{Odds34_8}</td>
    <td class="mbline" id="NumOdds348" AC348_S onmouseover="ChangeClass(8, 34, 1)" onmouseout="ChangeClass(8, 34, 0)" AC348_E><input type="checkbox" name="ChoiceNumber[34][8]" value="{OddsID34_8}#{Odds34_8}" onclick="logCNo(8, this)"></td>
    <th>{Animals8}</th>
    <td class="mbline_ratio">{Odds35_8}</td>
    <td class="mbline" id="NumOdds358" AC358_S onmouseover="ChangeClass(8, 35, 1)" onmouseout="ChangeClass(8, 35, 0)" AC358_E><input type="checkbox" name="ChoiceNumber[35][8]" value="{OddsID35_8}#{Odds35_8}" onclick="logCNo(8, this)"></td>
    <th>{Animals8}</th>
    <td class="mbline_ratio">{Odds36_8}</td>
    <td class="mbline" id="NumOdds368" AC368_S onmouseover="ChangeClass(8, 36, 1)" onmouseout="ChangeClass(8, 36, 0)" AC368_E><input type="checkbox" name="ChoiceNumber[36][8]" value="{OddsID36_8}#{Odds36_8}" onclick="logCNo(8, this)"></td>
    <th>{Animals8}</th>
    <td class="mbline_ratio">{Odds37_8}</td>
    <td class="mbline" id="NumOdds378" AC378_S onmouseover="ChangeClass(8, 37, 1)" onmouseout="ChangeClass(8, 37, 0)" AC378_E><input type="checkbox" name="ChoiceNumber[37][8]" value="{OddsID37_8}#{Odds37_8}" onclick="logCNo(8, this)"></td>
  </tr>
  <tr class="mcen"><!-- 9 //-->
    <th>{Animals9}</th>
    <td class="mbline_ratio">{Odds32_9}</td>
    <td class="mbline" id="NumOdds329" AC329_S onmouseover="ChangeClass(9, 32, 1)" onmouseout="ChangeClass(9, 32, 0)" AC329_E><input type="checkbox" name="ChoiceNumber[32][9]" value="{OddsID32_9}#{Odds32_9}" onclick="logCNo(9, this)"></td>
    <th>{Animals9}</th>
    <td class="mbline_ratio">{Odds33_9}</td>
    <td class="mbline" id="NumOdds339" AC339_S onmouseover="ChangeClass(9, 33, 1)" onmouseout="ChangeClass(9, 33, 0)" AC339_E><input type="checkbox" name="ChoiceNumber[33][9]" value="{OddsID33_9}#{Odds33_9}" onclick="logCNo(9, this)"></td>
    <th>{Animals9}</th>
    <td class="mbline_ratio">{Odds34_9}</td>
    <td class="mbline" id="NumOdds349" AC349_S onmouseover="ChangeClass(9, 34, 1)" onmouseout="ChangeClass(9, 34, 0)" AC349_E><input type="checkbox" name="ChoiceNumber[34][9]" value="{OddsID34_9}#{Odds34_9}" onclick="logCNo(9, this)"></td>
    <th>{Animals9}</th>
    <td class="mbline_ratio">{Odds35_9}</td>
    <td class="mbline" id="NumOdds359" AC359_S onmouseover="ChangeClass(9, 35, 1)" onmouseout="ChangeClass(9, 35, 0)" AC359_E><input type="checkbox" name="ChoiceNumber[35][9]" value="{OddsID35_9}#{Odds35_9}" onclick="logCNo(9, this)"></td>
    <th>{Animals9}</th>
    <td class="mbline_ratio">{Odds36_9}</td>
    <td class="mbline" id="NumOdds369" AC369_S onmouseover="ChangeClass(9, 36, 1)" onmouseout="ChangeClass(9, 36, 0)" AC369_E><input type="checkbox" name="ChoiceNumber[36][9]" value="{OddsID36_9}#{Odds36_9}" onclick="logCNo(9, this)"></td>
    <th>{Animals9}</th>
    <td class="mbline_ratio">{Odds37_9}</td>
    <td class="mbline" id="NumOdds379" AC379_S onmouseover="ChangeClass(9, 37, 1)" onmouseout="ChangeClass(9, 37, 0)" AC379_E><input type="checkbox" name="ChoiceNumber[37][9]" value="{OddsID37_9}#{Odds37_9}" onclick="logCNo(9, this)"></td>
  </tr>
  <tr class="mcen"><!-- 0 //-->
    <th>{Animals10}</th>
    <td class="mbline_ratio">{Odds32_10}</td>
    <td class="mbline" id="NumOdds3210" AC3210_S onmouseover="ChangeClass(10, 32, 1)" onmouseout="ChangeClass(10, 32, 0)" AC3210_E><input type="checkbox" name="ChoiceNumber[32][10]" value="{OddsID32_10}#{Odds32_10}" onclick="logCNo(10, this)"></td>
    <th>{Animals10}</th>
    <td class="mbline_ratio">{Odds33_10}</td>
    <td class="mbline" id="NumOdds3310" AC3310_S onmouseover="ChangeClass(10, 33, 1)" onmouseout="ChangeClass(10, 33, 0)" AC3310_E><input type="checkbox" name="ChoiceNumber[33][10]" value="{OddsID33_10}#{Odds33_10}" onclick="logCNo(10, this)"></td>
    <th>{Animals10}</th>
    <td class="mbline_ratio">{Odds34_10}</td>
    <td class="mbline" id="NumOdds3410" AC3410_S onmouseover="ChangeClass(10, 34, 1)" onmouseout="ChangeClass(10, 34, 0)" AC3410_E><input type="checkbox" name="ChoiceNumber[34][10]" value="{OddsID34_10}#{Odds34_10}" onclick="logCNo(10, this)"></td>
    <th>{Animals10}</th>
    <td class="mbline_ratio">{Odds35_10}</td>
    <td class="mbline" id="NumOdds3510" AC3510_S onmouseover="ChangeClass(10, 35, 1)" onmouseout="ChangeClass(10, 35, 0)" AC3510_E><input type="checkbox" name="ChoiceNumber[35][10]" value="{OddsID35_10}#{Odds35_10}" onclick="logCNo(10, this)"></td>
    <th>{Animals10}</th>
    <td class="mbline_ratio">{Odds36_10}</td>
    <td class="mbline" id="NumOdds3610" AC3610_S onmouseover="ChangeClass(10, 36, 1)" onmouseout="ChangeClass(10, 36, 0)" AC3610_E><input type="checkbox" name="ChoiceNumber[36][10]" value="{OddsID36_10}#{Odds36_10}" onclick="logCNo(10, this)"></td>
    <th>{Animals10}</th>
    <td class="mbline_ratio">{Odds37_10}</td>
    <td class="mbline" id="NumOdds3710" AC3710_S onmouseover="ChangeClass(10, 37, 1)" onmouseout="ChangeClass(10, 37, 0)" AC3710_E><input type="checkbox" name="ChoiceNumber[37][10]" value="{OddsID37_10}#{Odds37_10}" onclick="logCNo(10, this)"></td>
  </tr>
  <tr class="mcen"><!-- 11 //-->
    <th>{Animals11}</th>
    <td class="mbline_ratio">{Odds32_11}</td>
    <td class="mbline" id="NumOdds3211" AC3211_S onmouseover="ChangeClass(11, 32, 1)" onmouseout="ChangeClass(11, 32, 0)" AC3211_E><input type="checkbox" name="ChoiceNumber[32][11]" value="{OddsID32_11}#{Odds32_11}" onclick="logCNo(11, this)"></td>
    <th>{Animals11}</th>
    <td class="mbline_ratio">{Odds33_11}</td>
    <td class="mbline" id="NumOdds3311" AC3311_S onmouseover="ChangeClass(11, 33, 1)" onmouseout="ChangeClass(11, 33, 0)" AC3311_E><input type="checkbox" name="ChoiceNumber[33][11]" value="{OddsID33_11}#{Odds33_11}" onclick="logCNo(11, this)"></td>
    <th>{Animals11}</th>
    <td class="mbline_ratio">{Odds34_11}</td>
    <td class="mbline" id="NumOdds3411" AC3411_S onmouseover="ChangeClass(11, 34, 1)" onmouseout="ChangeClass(11, 34, 0)" AC3411_E><input type="checkbox" name="ChoiceNumber[34][11]" value="{OddsID34_11}#{Odds34_11}" onclick="logCNo(11, this)"></td>
    <th>{Animals11}</th>
    <td class="mbline_ratio">{Odds35_11}</td>
    <td class="mbline" id="NumOdds3511" AC3511_S onmouseover="ChangeClass(11, 35, 1)" onmouseout="ChangeClass(11, 35, 0)" AC3511_E><input type="checkbox" name="ChoiceNumber[35][11]" value="{OddsID35_11}#{Odds35_11}" onclick="logCNo(11, this)"></td>
    <th>{Animals11}</th>
    <td class="mbline_ratio">{Odds36_11}</td>
    <td class="mbline" id="NumOdds3611" AC3611_S onmouseover="ChangeClass(11, 36, 1)" onmouseout="ChangeClass(11, 36, 0)" AC3611_E><input type="checkbox" name="ChoiceNumber[36][11]" value="{OddsID36_11}#{Odds36_11}" onclick="logCNo(11, this)"></td>
    <th>{Animals11}</th>
    <td class="mbline_ratio">{Odds37_11}</td>
    <td class="mbline" id="NumOdds3711" AC3711_S onmouseover="ChangeClass(11, 37, 1)" onmouseout="ChangeClass(11, 37, 0)" AC3711_E><input type="checkbox" name="ChoiceNumber[37][11]" value="{OddsID37_11}#{Odds37_11}" onclick="logCNo(11, this)"></td>
  </tr>
  <tr class="mcen"><!-- 0 //-->
    <th>{Animals12}</th>
    <td class="mbline_ratio">{Odds32_12}</td>
    <td class="mbline" id="NumOdds3212" AC3212_S onmouseover="ChangeClass(12, 32, 1)" onmouseout="ChangeClass(12, 32, 0)" AC3212_E><input type="checkbox" name="ChoiceNumber[32][12]" value="{OddsID32_12}#{Odds32_12}" onclick="logCNo(12, this)"></td>
    <th>{Animals12}</th>
    <td class="mbline_ratio">{Odds33_12}</td>
    <td class="mbline" id="NumOdds3312" AC3312_S onmouseover="ChangeClass(12, 33, 1)" onmouseout="ChangeClass(12, 33, 0)" AC3312_E><input type="checkbox" name="ChoiceNumber[33][12]" value="{OddsID33_12}#{Odds33_12}" onclick="logCNo(12, this)"></td>
    <th>{Animals12}</th>
    <td class="mbline_ratio">{Odds34_12}</td>
    <td class="mbline" id="NumOdds3412" AC3412_S onmouseover="ChangeClass(12, 34, 1)" onmouseout="ChangeClass(12, 34, 0)" AC3412_E><input type="checkbox" name="ChoiceNumber[34][12]" value="{OddsID34_12}#{Odds34_12}" onclick="logCNo(12, this)"></td>
    <th>{Animals12}</th>
    <td class="mbline_ratio">{Odds35_12}</td>
    <td class="mbline" id="NumOdds3512" AC3512_S onmouseover="ChangeClass(12, 35, 1)" onmouseout="ChangeClass(12, 35, 0)" AC3512_E><input type="checkbox" name="ChoiceNumber[35][12]" value="{OddsID35_12}#{Odds35_12}" onclick="logCNo(12, this)"></td>
    <th>{Animals12}</th>
    <td class="mbline_ratio">{Odds36_12}</td>
    <td class="mbline" id="NumOdds3612" AC3612_S onmouseover="ChangeClass(12, 36, 1)" onmouseout="ChangeClass(12, 36, 0)" AC3612_E><input type="checkbox" name="ChoiceNumber[36][12]" value="{OddsID36_12}#{Odds36_12}" onclick="logCNo(12, this)"></td>
    <th>{Animals12}</th>
    <td class="mbline_ratio">{Odds37_12}</td>
    <td class="mbline" id="NumOdds3712" AC3712_S onmouseover="ChangeClass(12, 37, 1)" onmouseout="ChangeClass(12, 37, 0)" AC3712_E><input type="checkbox" name="ChoiceNumber[37][12]" value="{OddsID37_12}#{Odds37_12}" onclick="logCNo(12, this)"></td>
  </tr>
  <tr class="mfoot">
    <td colspan="18" class="mbline">
      <input name="BSubmit" type="submit" class="zabottonR" value="{BSubmit}" disabled>
      <input type="reset" class="zabotton" value="{BReset}">
    </td>
    </tr>
</table>

</form>
</body>
</html>